home *** CD-ROM | disk | FTP | other *** search
- 172
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SetWindowState
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetWindowState allows you to manipulate the specified window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetWindowState( WinHandle, State )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer, String.
- --- RECORDSEPARATOR ---
- WinHandle is the handle of the window to change. To change the Director or
- --- RECORDSEPARATOR ---
- Authorware window, use the baWinHandle() function.
- --- RECORDSEPARATOR ---
- State is the window's new state. Can be one of the following:
- --- RECORDSEPARATOR ---
- "Hidden"
- --- RECORDSEPARATOR ---
- Hides the window and passes activation to another window.
- --- RECORDSEPARATOR ---
- "Restored"
- --- RECORDSEPARATOR ---
- Activates and displays a window. If the window i
- --- RECORDSEPARATOR ---
- s minimized or
- --- RECORDSEPARATOR ---
- maximized, it is restored to its original size and position.
- --- RECORDSEPARATOR ---
- "Normal"
- --- RECORDSEPARATOR ---
- Activates a window and displays it in its current size and position.
- --- RECORDSEPARATOR ---
- "Maximised"
- --- RECORDSEPARATOR ---
- Activates a window and displays it as a maximized window.
- --- RECORDSEPARATOR ---
- "Minimised"
- --- RECORDSEPARATOR ---
- Activates a window and displays it as an icon.
- --- RECORDSEPARATOR ---
- "MinNotActive"
- --- RECORDSEPARATOR ---
- Displays a window as an icon. The window that is currently active
- --- RECORDSEPARATOR ---
- remains active.
- --- RECORDSEPARATOR ---
- "NotActive"
- --- RECORDSEPARATOR ---
- Displays a window in its current state. The window that is currently
- --- RECORDSEPARATOR ---
- active remains active.
- --- RECORDSEPARATOR ---
- "ShowNotActive"
- --- RECORDSEPARATOR ---
- Displays a window in its most recent size and position. The window that
- --- RECORDSEPARATOR ---
- is currently active remains active.
- --- RECORDSEPARATOR ---
- "StayOnTop"
- --- RECORDSEPARATOR ---
- Makes the window stay on top of all other windows.
- --- RECORDSEPARATOR ---
- "DontStayOnTop"
- --- RECORDSEPARATOR ---
- Allows the window to go behind other windows.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Void.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- baSetWindowState( baWinHandle(), "StayOnTop" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- baSetWindowState( baWinHandle(), "StayOnTop" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- If the WinHandle is 0, or is not the valid handle of a window, then the function will
- --- RECORDSEPARATOR ---
- act on the active window.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWindowInfo
- --- RECORDSEPARATOR ---
- baActivateWindow